package org.uninova.mobis.pojos;

import java.sql.Timestamp;

/**
 * ResRobot ResRobotSegment POJO
 * @author PAF
 */

public class ResRobotSegment {

	private String motType = "" ;						// The Means of Transportation (mot) type
	private String motCarrier = "" ;					// The Means of Transportation (mot) carrier/operator name
	private int motCarrierId = 0 ;						// The Means of Transportation (mot)carrier ResRobot ID
	private String motNumber = "" ;						// The Means of Transportation (mot) number (bus number, train number, etc.)
	private int distance = 0 ;							// The distance of the ResRobot segment
	private String direction = "" ;						// The direction/heading for the segment
	private int departureStationId = 0 ;				// The ResRobot unique ID for the departure station
	private Coordinate departureStationCoord = null ;	// The coordinate for the departure station
	private String departureStationName = "" ;			// The name of the departure station
	private Timestamp departureDateTime = null ;		// The time of departure
	private int arrivalStationId = 0 ;					// The ResRobot unique ID for the arrival station
	private Coordinate arrivalStationCoord = null ;		// The coordinate for the arrival station
	private String arrivalStationName = "" ;			// The name of the arrival station
	private Timestamp arrivalDateTime = null ;			// The time of arrival
	
	/**
	 * ResRobotSegment Class Constructors
	 */
	public ResRobotSegment() {}
	
	public ResRobotSegment(
			String motType,
			String motCarrier,
			int motCarrierId,
			String motNumber,
			int distance, 
			String direction,
			int departureStationId, 
			Coordinate departureStationCoord, 
			String departureStationName,
			Timestamp departureDateTime, 
			int arrivalStationId, 
			Coordinate arrivalStationCoord, 
			String arrivalStationName, 
			Timestamp arrivalDateTime) {
		
		this.motType = motType ;
		this.motCarrier = motCarrier ;
		this.motCarrierId = motCarrierId ;
		this.motNumber = motNumber ;
		this.distance = distance ;
		this.direction = direction ;
		this.departureStationId = departureStationId ;
		this.departureStationCoord = departureStationCoord ;
		this.departureStationName = departureStationName ;
		this.departureDateTime = departureDateTime ;
		this.arrivalStationId = arrivalStationId ;
		this.arrivalStationCoord = arrivalStationCoord ;
		this.arrivalStationName = arrivalStationName ;
		this.arrivalDateTime = arrivalDateTime ;
	}
	
	public ResRobotSegment(
			String motType,
			String motText, 
			int distance, 
			int departureStationId, 
			Coordinate departureStationCoord, 
			String departureStationName,
			Timestamp departureDateTime, 
			int arrivalStationId, 
			Coordinate arrivalStationCoord, 
			String arrivalStationName, 
			Timestamp arrivalDateTime) {
		
		this.motType = motType ;
		this.departureStationId = departureStationId ;
		this.departureStationCoord = departureStationCoord ;
		this.departureStationName = departureStationName ;
		this.departureDateTime = departureDateTime ;
		this.arrivalStationId = arrivalStationId ;
		this.arrivalStationCoord = arrivalStationCoord ;
		this.arrivalStationName = arrivalStationName ;
		this.arrivalDateTime = arrivalDateTime ;
	}

	public String getMotType() {
		return motType;
	}

	public void setMotType(String motType) {
		this.motType = motType;
	}

	public String getMotCarrier() {
		return motCarrier;
	}

	public void setMotCarrier(String motCarrier) {
		this.motCarrier = motCarrier;
	}

	public int getMotCarrierId() {
		return motCarrierId;
	}

	public void setMotCarrierId(int motCarrierId) {
		this.motCarrierId = motCarrierId;
	}

	public String getMotNumber() {
		return motNumber;
	}

	public void setMotNumber(String motNumber) {
		this.motNumber = motNumber;
	}

	public int getDistance() {
		return distance;
	}

	public void setDistance(int distance) {
		this.distance = distance;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public int getDepartureStationId() {
		return departureStationId;
	}

	public void setDepartureStationId(int departureStationId) {
		this.departureStationId = departureStationId;
	}

	public Coordinate getDepartureStationCoord() {
		return departureStationCoord;
	}

	public void setDepartureStationCoord(Coordinate departureStationCoord) {
		this.departureStationCoord = departureStationCoord;
	}

	public String getDepartureStationName() {
		return departureStationName;
	}

	public void setDepartureStationName(String departureStationName) {
		this.departureStationName = departureStationName;
	}

	public Timestamp getDepartureDateTime() {
		return departureDateTime;
	}

	public void setDepartureDateTime(Timestamp departureDateTime) {
		this.departureDateTime = departureDateTime;
	}

	public int getArrivalStationId() {
		return arrivalStationId;
	}

	public void setArrivalStationId(int arrivalStationId) {
		this.arrivalStationId = arrivalStationId;
	}

	public Coordinate getArrivalStationCoord() {
		return arrivalStationCoord;
	}

	public void setArrivalStationCoord(Coordinate arrivalStationCoord) {
		this.arrivalStationCoord = arrivalStationCoord;
	}

	public String getArrivalStationName() {
		return arrivalStationName;
	}

	public void setArrivalStationName(String arrivalStationName) {
		this.arrivalStationName = arrivalStationName;
	}

	public Timestamp getArrivalDateTime() {
		return arrivalDateTime;
	}

	public void setArrivalDateTime(Timestamp arrivalDateTime) {
		this.arrivalDateTime = arrivalDateTime;
	}
}
